/**
 *  数据库列表
 *
 *  @author   ghh
 *  @version  1.0
 */
require(['baseLayout'], function (BaseLayout) {
    $(function () {
        new BaseLayout({
            cells: {
                a: {
                    attachId: 'grid',
                    attachType: 'grid',
                    toolbarParam: {
                        buttons: {"add": false, "edit": false, "del": false}
                    },
                    gridParam: {
                        ajax: {
                            url: "api/data/base/page/list"
                        },
                        showType: 'list',
                        columns: [
                            {display: '表明', name: 'tableName', width: 260, align: 'center'},
                            {display: '说明', name: 'instructions', width: 180, align: 'center'},
                        ],
                        isUsePage: true,
                        row: {
                            selectIndex: 0,
                        }
                    }
                }
            }
        })
    })
});
